<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>失业人员服务台账</title>
<script type="text/javascript" src="resources/js/jobless/server/joblessService.js"></script>
<link rel="stylesheet" type="text/css" href="resources/css/labor/laborInfoManage.css" />
</head>
<body>
	<div id="pageContent">
		<div class="easyui-layout" data-options="fit: true">
			<div class="easyui-panel" title="动态管理记录" data-options="region:'center', border:false">
				<div id="joblessSer_toolbar" class="app-query-panel">
					<table>
						<tr>
						  <td>
							 <a href="#" id="addStaffButton" class="easyui-linkbutton app-toolbar-button"  data-options="plain:true" onclick="addServer()"><i  class="fa fa-plus"></i>添加</a>
							 <!-- <a href="#" class="easyui-linkbutton app-toolbar-button"  data-options="plain:true" onclick="$('#modifyJoblessSer').window('open')"><i  class="fa fa-plus color-icon"></i>修改</a> -->
							 <a href="#" id="updateStaffButton" class="easyui-linkbutton app-toolbar-button"  data-options="plain:true" onclick="getJoblessSer()"><i  class="fa fa-pencil-square-o"></i>修改</a>
							 <a href="#" id="delStaffButton" class="easyui-linkbutton app-toolbar-button"  data-options="plain:true" onclick="delJoblessSer()"><i  class="fa fa-trash"></i>删除</a>
 						  </td>
						</tr>
					</table>
				</div>
				<table id="joblessSerGrid" data-options="fit:true, border:false, toolbar:'#joblessSer_toolbar'"></table>
				<input type="hidden" id="unemployedId" name="unemployedId"/>
			</div>
		</div>
		<div id="addJoblessSer" class="easyui-window" title="失业人员服务台账添加" data-options="collapsible:false,minimizable:false,maximizable:false,resizable:false,closed:true" style="width:450px;height:450px;padding:10px;">
			<div class="pageContent-list">
				<form id="addServiceForm" method="post">
				    <!-- <input type="hidden" id="id" name=""/> -->
					<div>
					    <label>服务日期：</label>
					    <input id="add_servicedate" name="servicedate" class="easyui-datebox" data-options="required:true, missingMessage:'服务日期必填'"/>
					</div>
					<div>
						<label>职业指导：</label>
						<input id="add_guide" name="guide" class="easyui-textbox" />
					</div>
					<div>
						<label>职业介绍：</label>
						<input id="add_intruduce" name="intruduce" class="easyui-textbox" />
					</div>
					<div>
						<label>技能培训：</label>
						<input id="add_training" name="training" class="easyui-textbox" />
					</div>
					<div>
						<label>参加招聘会：</label>
						<input id="add_jobfair" name="jobfair" class="easyui-textbox" />
					</div>
					<div>
						<label>介绍工作：</label>
						<input id="add_recommend" name="recommend" class="easyui-textbox" />
					</div>
					 
					<div>
						<label>应聘岗位：</label>
						<input id="add_applying" name="applying" class="easyui-textbox" />
					</div>
					<div>
						<label>是否就业：</label>
						<input id="add_employstate" name="employstate" class="easyui-textbox" />
					</div>
					<div>
						<label>就业日期：</label>
						<input id="add_employdate" name="employdate" class="easyui-datebox" />
					</div>
					<div>
						<label>就业状态：</label>
						<input id="add_status" name="status" class="easyui-textbox" />
					</div>
					<div>
						<label>单位名称：</label>
						<input id="add_company" name="company" class="easyui-textbox" />
					</div>
					<div>
						<label>岗位：</label>
						<input id="add_position" name="position" class="easyui-textbox" />
					</div>
					<div class="btn-link">
					   <a href="#" class="easyui-linkbutton btn-link" style="width:80px;height:30px;" onclick="insertJoblessSer()">保存</a>
					</div>
				</form>
			</div>
		</div>
		<div id="modifyJoblessSer" class="easyui-window" title="失业人员服务台账更新" data-options="collapsible:false,minimizable:false,maximizable:false,resizable:false,closed:true" style="width:450px;height:450px;padding:10px;">
			<div class="pageContent-list">
				<form id="modifyServiceForm" method="post">
					<input type="hidden" id="modifyService_id" name="id" />
					<div>
					    <label>服务日期：</label>
					    <input id="update_servicedate" name="servicedate" class="easyui-datebox" data-options="required:true, missingMessage:'服务日期必填'"/>
					</div>
					<div>
						<label>职业指导：</label>
						<input id="update_guide" name="guide" class="easyui-textbox" />
					</div>
					<div>
						<label>职业介绍：</label>
						<input id="update_intruduce" name="intruduce" class="easyui-textbox" />
					</div>
					<div>
						<label>技能培训：</label>
						<input id="update_training" name="training" class="easyui-textbox" />
					</div>
					<div>
						<label>参加招聘会：</label>
						<input id="update_jobfair" name="jobfair" class="easyui-textbox" />
					</div>
					<div>
						<label>介绍工作：</label>
						<input id="update_recommend" name="recommend" class="easyui-textbox" />
					</div>
					 
					<div>
						<label>应聘岗位：</label>
						<input id="update_applying" name="applying" class="easyui-textbox" />
					</div>
					<div>
						<label>是否就业：</label>
						<input id="update_employstate" name="employstate" class="easyui-textbox" />
					</div>
					<div>
						<label>就业日期：</label>
						<input id="update_employdate" name="employdate" class="easyui-datebox" />
					</div>
					<div>
						<label>就业状态：</label>
						<input id="update_status" name="status" class="easyui-textbox" />
					</div>
					<div>
						<label>单位名称：</label>
						<input id="update_company" name="company" class="easyui-textbox" />
					</div>
					<div>
						<label>岗位：</label>
						<input id="update_position" name="position" class="easyui-textbox" />
					</div>
					<div class="btn-link">
					   <a href="#" class="easyui-linkbutton btn-link" style="width:80px;height:30px;" onclick="modifyJobessSer()">保存</a>
					</div>
				</form>
			</div>
		</div>
	</div>
</body>
</html>